package com.ruoyi.common.core.domain.servicemanage;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 全部服务对象 services_all
 *
 * @author ruoyi
 * @date 2025-06-05
 */
public class ServicesAll extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 一级标题 */
    @Excel(name = "一级标题")
    private String firstLevelTitle;

    /** 上一级id */
    @Excel(name = "上一级id")
    private Long upOneLevelId;

    /** 二级标题 */
    @Excel(name = "二级标题")
    private String secondaryTitle;

    @Excel(name = "逻辑删除")
    private int deleted;


    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setFirstLevelTitle(String firstLevelTitle)
    {
        this.firstLevelTitle = firstLevelTitle;
    }

    public String getFirstLevelTitle()
    {
        return firstLevelTitle;
    }

    public void setUpOneLevelId(Long upOneLevelId)
    {
        this.upOneLevelId = upOneLevelId;
    }

    public Long getUpOneLevelId()
    {
        return upOneLevelId;
    }

    public void setSecondaryTitle(String secondaryTitle)
    {
        this.secondaryTitle = secondaryTitle;
    }

    public String getSecondaryTitle()
    {
        return secondaryTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("firstLevelTitle", getFirstLevelTitle())
                .append("upOneLevelId", getUpOneLevelId())
                .append("secondaryTitle", getSecondaryTitle())
                .append("deleted", getDeleted())
                .toString();
    }
}

